package com.onion.loan.retrofit;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by zhangqi on 2018/9/21.
 */
@Component
@ConfigurationProperties(prefix = "retrofit")
public class Http {

    private Map<String,String> baseUrl;

    public Map<String, String> getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(Map<String, String> baseUrl) {
        this.baseUrl = baseUrl;
    }
}
